package com.growthsee.rider.domain.dto;

import com.growthsee.rider.domain.RiderAttachment;
import com.growthsee.rider.domain.RiderCourse;
import com.growthsee.rider.domain.RiderCourseExtend;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author csy
 * @since 2021-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="RiderCourse对象", description="")
public class RiderCourseDto extends RiderCourse implements Serializable {

    @ApiModelProperty(value = "课程分类名称")
    private String categoryName;

    @ApiModelProperty(value = "课程附件")
    private List<RiderAttachment>riderAttachment = new ArrayList<>();

    @ApiModelProperty(value = "课程试题")
    private List<RiderQuestionDto>questionDtos = new ArrayList<>();

    @ApiModelProperty(value = "课程内容")
    private RiderCourseExtend courseExtend;




}
